//
//  LadingRequireCell.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/7/6.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LadingRequireMainModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^LadingRequireCellServiceBlock)(int serviceId);
typedef void(^LadingRequireCellTranTimeBlock)(int timeId);
typedef void(^LadingRequireCellWeightBlock)(NSString *weight);
typedef void(^LadingRequireCellVolumeBlock)(NSString *volume);
typedef void(^LadingRequireCellInsuranceBlock)(NSString *insurance);
typedef void(^LadingRequireCellFileBlock)(NSString *file);
typedef void(^LadingRequireCellRemarkBlock)(NSString *remark);
typedef void(^LadingRequireCellRemarkChooseBlock)(NSString *remark);

@interface LadingRequireCell : UITableViewCell

+ (instancetype)LadingRequireCellWithTableView:(UITableView *)tableView;

@property (nonatomic, strong) LadingRequireMainModel *model;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, copy) dispatch_block_t shippingBlock;//运输方式
@property (nonatomic, copy) dispatch_block_t requireBlock;//车辆要求
@property (nonatomic, copy) dispatch_block_t jieSuanBlock;//结算方式
@property (nonatomic, copy) LadingRequireCellServiceBlock serviceBlock;//服务方式
@property (nonatomic, copy) LadingRequireCellTranTimeBlock tranTimeBlock;//运输时效
@property (nonatomic, copy) LadingRequireCellInsuranceBlock insuranceBlock;//保险声明价值
@property (nonatomic, copy) LadingRequireCellFileBlock fileBlock;//随附文件
@property (nonatomic, copy) LadingRequireCellRemarkBlock remarkBlock;//备注
@property (nonatomic, copy) LadingRequireCellRemarkChooseBlock remarkChooseBlock;

@end

NS_ASSUME_NONNULL_END
